#include <QApplication>
#include "dialog.h"
#include "init.h"
#include <QDebug>
//#include "macro.h"
//#include <QRegExp>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.thread()->setPriority(QThread::HighestPriority);
    a.addLibraryPath(qApp->applicationDirPath () + "/plugins");

    Init init;
    qRegisterMetaType <QHostAddress> ("QHostAddress");
    WeatherStation w;

    return a.exec();
}
